package com.bfsuol.yihang.cars.dto;


import com.bfsuol.core.entity.Entity;
import com.bfsuol.core.entity.EntitySupport;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.NumberFormat;

import java.util.Date;
import java.util.List;

@Data
public class VehicleDTO extends EntitySupport implements Entity {

    private Long id;
    private String name;
    private String vehicleNo;
    @NumberFormat(pattern = "###,###,###")
    private Integer vehicleType;
    @NumberFormat(pattern = "###,###,###")
    private Integer vehicleIsTouBao;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date touBaoBeginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date touBaoEndTime;
    private Integer touBaoRemainingDays;
    private String createUserName;
    private String updateUserName;
    private Date createTime;
    private Date updateTime;
    private String content;
    private Integer isDelete;
    private Long customerId;
    private String customerName;

    //---------------------------------------------
    private String ids;
    private Boolean isSearchExpireDaysCar = false;

    @Override
    public Long getId() {
        return id;
    }
}
